package com.guli.gulimall.product.vo;

import com.guli.gulimall.product.entity.SkuImagesEntity;
import com.guli.gulimall.product.entity.SkuInfoEntity;
import com.guli.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import java.util.List;

@Data
public class SkuItemVo {
    //1.sku基本信息获取 pms_sku_info
    private SkuInfoEntity info;
    //是否有货。默认有货
    private boolean hasStock = true;
    //2.sku的图片信息  pms_sku_images
    private List<SkuImagesEntity> images;
    //3.获取spu的销售属性组合
    private List<SkuItemSaleAttrVo> saleAttr;
    //4.获取spu的介绍
    private SpuInfoDescEntity desp;
    //5.获取spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;
    //6.秒杀信息
    SeckillInifoVo seckillSkuVo;
}
